// 社群相关接口
import http from "../../common/http.js"

export default {
	goods: (data) => {
		return http.GET('/admin/goods/edit', data) 
	},
	list: (data) => {
		return http.GET('/admin/goods/list', data) 
	},
	catList: (data) => {
		return http.GET('/admin/goods/cat-list', data) 
	},
	catSave: (data) => {
		return http.POST('/admin/goods/cat-save', data) 
	},
	save: (data) => {
		return http.POST('/admin/goods/save', data) 
	},
	status: (data) => {
		return http.GET('/admin/goods/status', data) 
	}
}